auto merge of #864 : tomaka/cargo/fix-814, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 13 Nov 2014 22:45:53 +0000 (22:45 +0000)
committerbors <bors@rust-lang.org>
Thu, 13 Nov 2014 22:45:53 +0000 (22:45 +0000)
Close #814

Unfortunately I don't really know how I'd add a test for this.
In order to try compile a library then a binary, you need to successfully compile the library, which means that you'd need to pass a valid value instead of just `-l foo`

1  2 
src/cargo/ops/cargo_rustc/mod.rs

Simple merge